package com.ye.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @Description: TODO
 * @author: scott
 * @date: 2022年04月07日 17:00
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Component
public class Student {
    @Value("${student.username:admin}")
    private String username;
    @Value("${student.password:123456}")
    private String password;
    @Value("${student.address:shanghai}")
    private String address;
    @Value("${student.birthday:2022-02-22}")
    private String birthday;
}
